package com.example.studentregistration.pojo;

import cn.hutool.core.annotation.Alias;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Reporting {

    @Alias("报到记录主键")
    private Long id;

    @Alias("学号")
    private String studentNo;

    @Alias("学生姓名")
    private String name;

    @Alias("专业")
    private String major;

    @Alias("班级名称")
    private String className;

    @Alias("联系电话")
    private String phoneNumber;

    @Alias("宿舍楼宇名称")
    private String buildingName;

    @Alias("宿舍号")
    private String dormNo;

    @Alias("报到状态")
    private String reportingStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Alias("报到完成时间")
    private Date reportingTime;

    @Alias("是否已缴费 0否 1是")
    private Integer isPaid;

    @Alias("主要缴费状态")
    private String paymentStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Alias("最近一次缴费时间")
    private Date paymentTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Alias("记录创建时间")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Alias("记录更新时间")
    private Date updateTime;
}